package com.zk.shop.pojo;

import java.sql.Timestamp;

public class Address {
    private Integer aid;
    private String address;
    private String detailaddress;
    private Timestamp receivename;
    private String receivephone;
    private Integer uid;

    public Address() {
    }

    public Address(String address, String detailaddress, Timestamp receivename, String receivephone, Integer uid) {
        this.address = address;
        this.detailaddress = detailaddress;
        this.receivename = receivename;
        this.receivephone = receivephone;
        this.uid = uid;
    }

    public Address(Integer aid, String address, String detailaddress, Timestamp receivename, String receivephone, Integer uid) {
        this.aid = aid;
        this.address = address;
        this.detailaddress = detailaddress;
        this.receivename = receivename;
        this.receivephone = receivephone;
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "Address{" +
                "aid=" + aid +
                ", address='" + address + '\'' +
                ", detailaddress='" + detailaddress + '\'' +
                ", receivename=" + receivename +
                ", receivephone='" + receivephone + '\'' +
                ", uid=" + uid +
                '}';
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDetailaddress() {
        return detailaddress;
    }

    public void setDetailaddress(String detailaddress) {
        this.detailaddress = detailaddress;
    }

    public Timestamp getReceivename() {
        return receivename;
    }

    public void setReceivename(Timestamp receivename) {
        this.receivename = receivename;
    }

    public String getReceivephone() {
        return receivephone;
    }

    public void setReceivephone(String receivephone) {
        this.receivephone = receivephone;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }
}
